package com.logic.landseaserver.persistence.read;

import java.util.List;

import com.logic.common.util.QueryUtil;
import com.logic.landseaserver.domain.News;
import com.logic.landseaserver.models.news.bean.NewsResp;

public interface NewsReadMapper {
    News selectByPrimaryKey(Integer id);

	List<NewsResp> selectNewsList(QueryUtil queryUtil);

	NewsResp getNewsDetail(Integer id);

	List<NewsResp> selectMemorabilia();

	List<NewsResp> selectNew();

	List<String> selectDate(String type);

	List<NewsResp> selectAllNews(QueryUtil queryUtil);

	List<Integer> selectCount(String type, String date, String recruitType);
}